﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FyAutoStartService.Models
{
    public class FileAndDirectory
    {
        public bool IsDir { get; set; }

        public string Name { get; set; }

        public long Size { get; set; }

        public FileAndDirectory(bool isDir,string name)
        {
            IsDir = isDir;
            Name = name;
        }

        public FileAndDirectory(bool isDir, string name, long size)
        {
            IsDir = isDir;
            Name = name;
            Size = size;
        }
    }
}
